home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / Documentation / DOCDEMOS / LAYERED1.POV < prev    next >
Encoding:
Text File  |  1997-01-23  |  544 b   |  31 lines  |  [TEXT/POV3]

  1. #include "colors.inc"
  2.  
  3. camera {
  4.   location <0, 0, -6>
  5.   look_at <0, 0, 0>
  6. }
  7.  
  8. light_source { <-20, 30, -100> color White }
  9. light_source { <10, 30, -10> color White }
  10. light_source { <0, 30, 10> color White }
  11.  
  12. #declare PLAIN_TEXTURE =  
  13.   // red/white check
  14.   texture {
  15.     pigment {
  16.       checker
  17.       color rgb<1.000, 0.000, 0.000> 
  18.       color rgb<1.000, 1.000, 1.000>  
  19.       scale <0.2500, 0.2500, 0.2500>
  20.     }
  21.   }
  22.  
  23. // plain red/white check box
  24.  
  25. box { <-1, -1, -1>, <1, 1, 1>
  26.   texture {
  27.     PLAIN_TEXTURE
  28.   }
  29.   translate  <-1.5, 1.2, 0>
  30. }
  31.